package com.hhit.bigscreenbackmanage.dao.tgygl;

import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.entity.tgygl.TTgyglConverterStation;
import com.hhit.bigscreenbackmanage.entity.tgygl.TTgyglLicenseProcessing;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TTgyglLicenseProcessingMapper {
    int deleteByPrimaryKey(Integer id);

    /**
     * 根据年份或者月份删除数据
     * @param month
     * @param year
     * @return
     */
    void deleteByNfAndFf(int year, int month);

    int insert(TTgyglLicenseProcessing record);

    int insertSelective(TTgyglLicenseProcessing record);

    TTgyglLicenseProcessing selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTgyglLicenseProcessing record);

    int updateByPrimaryKey(TTgyglLicenseProcessing record);

    List<Map<String, Object>> queryLicenseProcessingCount(JSONObject jsonObject);

    List<TTgyglLicenseProcessing> selectByBean(TTgyglLicenseProcessing bean);
}